package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.infrastructure.persistent.po.ActivityDayAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IActivityDayAccountDao {
    ActivityDayAccount getActivityDayAccount(@Param("userId") String userId, @Param("activityId") Long activityId, @Param("day") String day);

    int update(@Param("userId")String userId, @Param("activityId")Long activityId, @Param("day")String day);

    void insert(ActivityDayAccount activityDayAccount);

    void updateActivityDayAccount(ActivityDayAccount activityDayAccount);

    Integer getUserDayCount(@Param("userId") String userId, @Param("activityId") Long activityId, @Param("day") String day);
}
